package com.own.component.util.locate.property;

import com.own.constant.ConstantValue;
import lombok.Data;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * LocateProperty
 *
 * @author chenxueli
 * @date 2024-02-05 16:39:00
 */
@Data
@SpringBootConfiguration
@ConfigurationProperties(prefix = LocateProperty.PREFIX)
public class LocateProperty {

    public static final String PREFIX = ConstantValue.CONFIG_VALUE_CONTENT + "locate";

    /**
     * key
     */
    private String key;

    /**
     * secret
     */
    private String secret;

}
